//
//  CIBNScrollMenuView.h
//  CIBN
//
//  Created by ZNGOO on 16/7/18.
//  Copyright © 2016年 韦儒健. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CIBNScrollMenuView;
// 代理
@protocol CIBNScrollMenuViewDelegate <NSObject>
/**
 *  点击
 *
 *  @param index 菜单下标 (tag == 100 为点击所有按钮)
 */
- (void)didSelectItemIndex:(NSUInteger)index;

@end



@interface CIBNScrollMenuView : UIView

@property (nonatomic, assign) id<CIBNScrollMenuViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame;

- (void)setItemsArray:(NSArray *)items;
@end
